package com.sjksy.demo.msmapper.ledger;

import com.sjksy.demo.domain.FinanceSummary;
import com.sjksy.demo.dto.ledger.LedgerBranchStatisticDto;
import com.sjksy.demo.vo.ledger.LedgerBranchStatisticVo;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

@Mapper(componentModel = "spring")
public interface FinanceSummaryMsMapper {

    //    todo
    @Mapping(target = "totalIncome",source = "totalSales")
    FinanceSummary VoStatisticBranchLedgerToFinanceSummary(LedgerBranchStatisticVo ledgerBranchStatisticVo);

}
